package com.ctvit.sjk.knowledge.core.pojo.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.time.LocalDateTime;

/**
 * 实体基类
 *
 * @author heyingcheng
 * @date 2025/03/22
 */
@Getter
@Setter
@ToString
public class BaseCrEntity {

    /**
     * 创建用户ID
     */
    protected String createId;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    protected LocalDateTime createTime;

}
